home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / xconq-7.1.0 / INSTALL < prev    next >
Encoding:
Text File  |  1996-07-07  |  3.4 KB  |  81 lines  |  [TEXT/R*ch]

  1. INSTALLING XCONQ
  2.  
  3. 1. Decide which versions you want.  For non-Unix systems, you will
  4. need to go to the appropriate subdirectory, and read the instructions
  5. there on how to configure and compile the sources for the desired
  6. system.  Some systems (such as the Mac) may have an already-built
  7. executable available.  For Unix (and VMS) systems, keep reading here.
  8.  
  9. 2. Decide on the user interface(s) you would like to use.  The curses
  10. interface uses only terminal graphics and will therefore work almost
  11. anywhere, but the X11 interface both looks better and is easier to
  12. play.  Currently, only the X11 version allows multiple human players.
  13.  
  14. 3. Decide whether to use "configure" or "imake".  If you don't know
  15. which to choose, choose the "configure" way and go to 3a.  If you
  16. prefer the "imake" way, go to 3b.  You should do only one of these,
  17. never both.
  18.  
  19. 3a. Type "./configure".
  20.  
  21. If you want to be able to read XPM files, and the XPM library is
  22. available on your system, add the argument "--with-xpm" to your
  23. configure command.
  24.  
  25. The SelFile file dialog library may have problems compiling and/or
  26. linking, but it is not required for Xconq.  If you don't want to try
  27. to fix it, you can disable by adding the argument "--disable-selfile".
  28.  
  29. If you want to install into a nonstandard place, such as /usr/local,
  30. add the argument "--prefix=/usr/local".  This will put executables
  31. into /usr/local/bin, and game library files into /usr/local/lib/xconq.
  32. The default is to install everything under /usr/games; executables
  33. in /usr/games/bin, library files in /usr/games/lib/xconq.
  34.  
  35. 3b. Type "xmkmf", then "make Makefiles".
  36.  
  37. 4. Type "make".
  38.  
  39. If you want to build xconq only, then say "make all-xconq" instead.
  40. Similarly, for cconq only, say "make all-cconq".
  41.  
  42. 5. If you want test things out before installing, just cd to "curses"
  43. and say "cconq" or cd to "x11" and say "xconq".  You will need to add
  44. an argument like "-L ../lib" if you want to get the game libraries in
  45. this distribution; otherwise Xconq will use whatever games have been
  46. installed already.
  47.  
  48. 6. If you want to install Xconq in your system, type "make install".
  49. The default installation is into /usr/games for xconq and cconq, and
  50. into /usr/games/lib/xconq for the game modules.
  51.  
  52. If you want to install xconq only, then say "make install-xconq"
  53. instead.  Similarly, for cconq only, say "make install-cconq".
  54.  
  55. If you want to put the executables into the traditional /usr/games
  56. instead of /usr/games/bin, add "bindir=/usr/games" to the make install
  57. command.
  58.  
  59. If you need to install X application defaults somewhere other than
  60. /usr/lib/X11/app-defaults, add "appdefaultsdir=<xxx>" to the make
  61. install command.
  62.  
  63. If you do not have a program or script "install" on your path,
  64. you can use the "install.sh" in this directory by adding
  65. "INSTALL=<abspath>install.sh" to the "make install", or you can
  66. even use "cp" by saying "INSTALL=cp INSTALL_DATA=cp".
  67.  
  68. 7. The man pages just tell how to start up the programs; the full
  69. Xconq manual has complete details on everything.  A lot of behavior
  70. can be figured out by experimentation and by using the extensive
  71. online help; you can always get to it by typing '?'.
  72.  
  73. 8. If installed in a public place, announce availability.  The library
  74. file "news.txt" provides a convenient place to put in any notes
  75. about changes, new games/scenarios, and so forth.
  76.  
  77. PROBLEMS
  78.  
  79. Some systems may need you to add CFLAGS=-DSYSV to your make command,
  80. in order for SelFile to compile correctly.
  81.